# -*- coding: utf-8 -*-

from dramkit import simple_logger
from dramkit.gentools import raise_error


def test2():
    logger = simple_logger('./test_raise_error2.log', 'w')  
    raise_error('MyError1', 'test myerror', code='ERR1'
                ,logger=logger)
